#include "../mqserver/mq_connection.hpp"

int main()
{
    csjmq::ConnectionManager::ptr cmp = std::make_shared<csjmq::ConnectionManager>();
    cmp->newConnnection(muduo::net::TcpConnectionPtr(), csjmq::ProtobufCodecPtr(),
                        std::make_shared<csjmq::ConsumerManager>(),
                        std::make_shared<csjmq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
                        csjmq::ThreadPool::ptr());

    return 0;
}